package domain;


public class BalanceMonth extends ModelObject {

	private boolean active;
	private String dateStart;
	private String dateEnd;
	
	public BalanceMonth() {
	}
	
	/**
	 * @return the active
	 */
	public boolean isActive() {
		return active;
	}
	
	/**
	 * @param active the active to set
	 */
	public void setActive(boolean active) {
		this.active = active;
	}
	
	/**
	 * @return the dateStart
	 */
	public String getDateStart() {
		return dateStart;
	}
	
	/**
	 * @param dateStart the dateStart to set
	 */
	public void setDateStart(String dateStart) {
		this.dateStart = dateStart;
	}

	/**
	 * @return the dateEnd
	 */
	public String getDateEnd() {
		return dateEnd;
	}

	/**
	 * @param dateEnd the dateEnd to set
	 */
	public void setDateEnd(String dateEnd) {
		this.dateEnd = dateEnd;
	}

	public BalanceMonth clone() {
		BalanceMonth newBalanceMonth = new BalanceMonth();
		newBalanceMonth.setId(getId());
		newBalanceMonth.setVersion(getVersion());
		newBalanceMonth.setActive(isActive());
		newBalanceMonth.setDateStart(getDateStart());
		return newBalanceMonth;
	}
}
